package com.zjcode.cdcer.service;

import com.chinatechstar.component.commons.supports.PageData;
import com.zjcode.cdcer.model.basic.JsonObj;
import com.zjcode.cdcer.service.fallback.CerDataScreenServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "zjcode-chronic-disease-cancer-server", fallback = CerDataScreenServiceFallback.class)
public interface CerDataScreenService {

    @PostMapping("/cdcerserver/v1/datascreen/getDataScreen")
    JsonObj getDataScreen(PageData pageData);

    @PostMapping("/cdcerserver/v1/datascreen/getAreaCancerCount")
    JsonObj getAreaCancerCount(PageData pageData);
}

